
  <div class="content">
            <div class="myproject-control">
                <a class="small-button" href="project/edit.php"><span class="icon-plus"></span>Add Project</a>
                <label>Filter:</label>
                <?php
                $active = array('','','','');
                if(isset($_GET['type'])&&isset($active[$_GET['type']])){
                    $active[$_GET['type']] = 'active';
                }
                else{
                    $active[0]='active';
                }
                ?>
                <ul>
                    <li class="<?php echo $active[0]?>"><a href="project/">All</a></li>
                    <li class="<?php echo $active[1]?>"><a href="project/index.php?type=1">Todo</a></li>
                    <li class="<?php echo $active[2]?>"><a href="project/index.php?type=2">Interested</a></li>
                    <li class="<?php echo $active[3]?>"><a href="project/index.php?type=3">Done</a></li>
                </ul>
            </div><!--myproject-control-->
            <div class="myproject-list" id="project-list">
            
                <div id="nodata-project-list" class="nodata">Loading Project</div>
            </div><!--myproject-list-->
            
  </div>